{extend name="public/base"/}
{block name="body"}
    <header style="position:relative">
        <div class="bg_top"></div>
        <div class="traval-bgi">
            <img width="100%" src="/static/index/images/b3_ban.jpg" alt="">
        </div>
    </header>
    <div>
        <div class="container">
            <div class="row">
                <!-- Nav tabs -->
                <ul class="col-xs-12 col-sm-12 col-md-2 col-lg-2 traval-menu">
                    <li>资讯中心</li>
                    <li>
                        <a href="{:url('information/cnews')}">
                            公司新闻
                        </a>
                    </li>
                    <li>
                        <a href="{:url('information/inews')}">
                            行业动态
                        </a>
                    </li>
                </ul>
                <!-- Tab panes -->
                <div class="col-xs-12 col-sm-12 col-md-10 col-lg-10 tab-content traval-menu-content">
                    <div class="tab-pane active" id="cnews">
                        <div style="border-bottom: 1px solid #dae0e4;padding-bottom: 5px;">
                            <span style="font-size: 20px;font-weight: bold;">公司新闻</span>
                            <span style="font-size: 20px;color: #d3d2d2;">COMPANY NEWS</span>
                        </div>
                        {foreach $news_type1 as $key=>$value }
                        <div class="row information-item" style="background-color: #f8f8f8;padding: 15px;margin: 10px 0;">
                            <img class="col-xs-12 col-sm-12 col-md-3 col-lg-3 item-img" src="{if $value.img}{$value.img}{/if}" alt="">
                            <div class="col-xs-12 col-sm-12 col-md-9 col-lg-9 item-content" >
                                <div class="row">
                                    <div class="col-xs-12 col-sm-12 col-md-9 col-lg-9" style="font-size: 16px;">{$value.title}</div>
                                    <div class="col-xs-12 col-sm-12 col-md-3 col-lg-3">{:date('Y-m-d H:i:s',$value.time)}</div>
                                </div>
                                <div class="row">
                                    <a href="{:url('information/detail')}?id={$value.id}" style="display: block;">
                                        <div class="col-xs-10 col-sm-10 col-md-9 col-lg-9 item-desc" >{:mb_substr($value.detail,0,60,'utf-8')}</div>
                                        <img class="col-xs-2 col-sm-2 col-md-1 col-lg-1 item-more" src="/static/index/images/news01.jpg" alt="">
                                    </a>
                                </div>
                                
                            </div>
                        </div>
                        {/foreach}
                    </div>
                    <div class="product_page">
                        <nav aria-label="Page navigation pagelist">
                            {$news_type1->render()|raw}
                        </nav>
                    </div>
                </div>

                
            </div>
        </div>
    </div>
{/block}